export function validUsername(str) {
  const validMap = ['admin', 'editor']
  return validMap.includes(str.trim())
}
